#!/usr/bin/env python3
from random import randint

def random_ip():
    number_1 = randint(1,255)
    number_2 = randint(0,255)
    number_3 = randint(1,254)
    d = '.' 
    random_ip = str(number_1) + d + str(number_2) + d +str(number_2) + d + str(number_3)
    return random_ip

if __name__ == "__main__":
    print(random_ip())

